var tipsText = ["How much I had to make today","How much I actually made today","Extra I make when I earn more than I need","Where all my profits go! Use this to buy upgrades","My total earnings since i began working"];
var currentIndex = null;
function DayResultTip()
{
super();
this._alpha = 0;
}
function show($tipIndex)
{
if(this.currentIndex == $tipIndex)
{
return undefined;
}
this.currentIndex = $tipIndex;
this.aTween.stop();
this._alpha = 0;
this.tip_tf.text = this.tipsText[$tipIndex];
this.aTween = new mx.transitions.Tween(this,"_alpha",mx.transitions.easing.None.easeIn,0,100,15,false);